<!-- 公共的底部start -->
<div class="blank"></div>
<div class="skin-set" id="skin-set">
    <div class="skin-set-img" onclick="skinChange()">
        <img src="./images/skin_set.png" class="skin-d" />
    </div>
    <div class="skin-color-select">
        <span class="red-skin styleswitch" data-switchcolor="color1" style="background: #ea2c58;"></span>
        <span class="gray-skin styleswitch" data-switchcolor="color2" style="background: #48c7ec;"></span>
    </div>
</div>
<script type="text/javascript" src="./javascripts/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="./javascripts/switch_theme.js"></script>
<script type="text/javascript">
    function scaleNav() {
        var browser_width = $(document.body).width();
        navLeft(browser_width);
        if (browser_width < 1200) {
            $(".nav-contain").css({ "position": "relative" });
            $(".user-center").css("margin-top", "0px");
        } else {
            $(".nav-contain").css({ "position": "fixed" });
            $(".user-center").css("margin-top", "80px");
        }
        $(window).resize(function () {
            browser_width = $(document.body).width();
            navLeft(browser_width);
            if (browser_width < 1200) {
                $(".nav-contain").css({ "position": "relative" });
                $(".user-center").css("margin-top", "0px");
            } else {
                $(".nav-contain").css({ "position": "fixed" });
                $(".user-center").css("margin-top", "80px");
            }
        });
    }
    scaleNav();
    //顶部菜单的动画
    function navLeft(browser_width) {
        if (browser_width <= 1500) {
            $(".nav-contain .menu").addClass("left");
        } else {
            $(".nav-contain .menu").removeClass("left");
        }
    }
</script>
<script type="text/javascript">
    $(function () {
        $(".header_hover_li").each(function (index) {
            $(this).hover(function () {
                $(".header_m_hover_c").css({ "display": "none" });
                $(".header_m_hover_c").eq(index).css({ "display": "block" });
                $(".header_m_hover").css({ "height": "180px" });
                $(".header_hover_li").removeClass("on");
                $(".header_hover_li").eq(index).addClass("on");
            }, function () {
                if ($(".header_m_hover").is(":hover")) { } else {
                    $(".header_m_hover_c").css({ "display": "none" });
                    $(".header_m_hover").css({ "height": "0px" });
                    $(".header_hover_li").eq(index).removeClass("on");
                }
                $(".header_m_hover").hover(function () { }, function () {
                    $(".header_m_hover_c").css({ "display": "none" });
                    $(".header_m_hover").css({ "height": "0px" });
                    $(".header_hover_li").eq(index).removeClass("on");
                })
            })
        });
    });
    function onRefresh() {
        //todu刷新资产
    }
    function onRecycle() {
        //todu一键回收
    }
</script>
<!-- 公共的底部end -->